<?xml version="1.0" encoding="UTF-8"?>
<jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:ui="http://www.sun.com/web/ui">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
        <ui:page binding="#{EnviarAlerta.page1}" id="page1">
            <ui:html binding="#{EnviarAlerta.html1}" id="html1">
                <ui:head binding="#{EnviarAlerta.head1}" id="head1">
                    <script>
                      function initAllRows() {
                       var table = document.getElementById("form1:table1");
                       table.initAllRows();
                      }
                    </script>
                    <ui:link binding="#{EnviarAlerta.link1}" id="link1" url="/resources/stylesheet.css"/>
                </ui:head>
                <ui:body binding="#{EnviarAlerta.body1}" id="body1" style="-rave-layout: grid">
                    <ui:form binding="#{EnviarAlerta.form1}" id="form1">
                        <div style="height: 102px; left: 0px; top: 0px; position: absolute; width: 762px">
                            <jsp:directive.include file="topo.jspf"/>
                        </div>
                        <div style="height: 38px; left: 0px; top: 560px; position: absolute; width: 758px">
                            <jsp:directive.include file="rodapev.jspf"/>
                        </div>
                        <div style="height: 454px; left: 0px; top: 104px; position: absolute; width: 206px">
                            <jsp:directive.include file="menu.jspf"/>
                        </div>
                        <ui:tabSet binding="#{EnviarAlerta.tabSet1}" id="tabSet1" selected="tab1" style="height: 454px; left: 208px; top: 104px; position: absolute; width: 554px">
                            <ui:tab action="#{EnviarAlerta.tab1_action}" binding="#{EnviarAlerta.tab1}" id="tab1" text="Envio">
                                <ui:panelLayout binding="#{EnviarAlerta.layoutPanel1}" id="layoutPanel1" style="border-width: 1px; background-color: rgb(211, 224, 235); border-left-color: rgb(110, 127, 143); border-right-color: rgb(110, 127, 143); border-bottom-color: rgb(110, 127, 143); border-left-style: solid; border-right-style: solid; border-bottom-style: solid; height: 415px; position: relative; width: 553px; -rave-layout: grid">
                                    <ui:button action="#{EnviarAlerta.btnVoltarAlerta_action}" binding="#{EnviarAlerta.btnVoltarAlerta}" id="btnVoltarAlerta"
                                        style="height: 24px; left: 231px; top: 312px; position: absolute" text="Voltar a Caixa de Entrada"/>
                                    <ui:button action="#{EnviarAlerta.button2_action}" binding="#{EnviarAlerta.button2}" id="button2" primary="true"
                                        style="height: 24px; left: 391px; top: 312px; position: absolute; width: 155px" text="Enviar"/>
                                    <ui:staticText binding="#{EnviarAlerta.staticText1}" id="staticText1"
                                        style="font-weight: bold; left: 12px; top: 12px; position: absolute" text="Remetente:"/>
                                    <ui:staticText binding="#{EnviarAlerta.staticText2}" id="staticText2"
                                        style="font-weight: bold; left: 28px; top: 40px; position: absolute" text="Assunto:"/>
                                    <ui:staticText binding="#{EnviarAlerta.staticText3}" id="staticText3"
                                        style="font-weight: bold; left: 12px; top: 104px; position: absolute" text="Mensagem:"/>
                                    <ui:staticText binding="#{EnviarAlerta.staticText4}" id="staticText4"
                                        style="font-weight: bold; left: 16px; top: 76px; position: absolute" text="Prioridade:"/>
                                    <ui:dropDown binding="#{EnviarAlerta.txtPrioridade}" id="txtPrioridade"
                                        items="#{EnviarAlerta.txtPrioridadeDefaultOptions.options}"
                                        selected="#{EnviarAlerta.txtPrioridadeDefaultOptions.selectedValue}" style="left: 88px; top: 72px; position: absolute"/>
                                    <ui:alert binding="#{EnviarAlerta.alerta}" id="alerta" style="left: 12px; top: 348px; position: absolute; width: 533px"/>
                                    <ui:textField binding="#{EnviarAlerta.textField1}" id="textField1" readOnly="true"
                                        style="height: 20px; left: 88px; top: 8px; position: absolute; width: 375px" text="#{SessionBean1.colaboradorAlertaEscolhido.usuario}"/>
                                    <ui:button action="#{EnviarAlerta.button3_action}" binding="#{EnviarAlerta.button3}" id="button3"
                                        style="left: 475px; top: 8px; position: absolute" text="..."/>
                                    <ui:textField binding="#{EnviarAlerta.txtAssunto}" id="txtAssunto" style="height: 20px; left: 88px; top: 40px; position: absolute; width: 375px"/>
                                    <ui:textArea binding="#{EnviarAlerta.txtMensagem}" id="txtMensagem" style="position: absolute; left: 12px; top: 128px; width: 532px; height: 180px"/>
                                </ui:panelLayout>
                            </ui:tab>
                            <ui:tab binding="#{EnviarAlerta.tab2}" id="tab2" text="Pesquisar Remetente">
                                <ui:panelLayout binding="#{EnviarAlerta.layoutPanel2}" id="layoutPanel2" style="border-width: 1px; background-color: rgb(211, 224, 235); border-left-color: rgb(110, 127, 143); border-right-color: rgb(110, 127, 143); border-bottom-color: rgb(110, 127, 143); border-left-style: solid; border-right-style: solid; border-bottom-style: solid; height: 415px; position: relative; width: 553px; -rave-layout: grid">
                                    <ui:staticText binding="#{EnviarAlerta.staticText5}" id="staticText5" style="left: 8px; top: 24px; position: absolute" text="Nome:"/>
                                    <ui:textField binding="#{EnviarAlerta.txtCriterio}" id="txtCriterio" style="left: 52px; top: 20px; position: absolute; width: 267px"/>
                                    <ui:button action="#{EnviarAlerta.button4_action}" binding="#{EnviarAlerta.button4}" id="button4"
                                        style="left: 335px; top: 20px; position: absolute" text="Consultar"/>
                                    <ui:button action="#{EnviarAlerta.button5_action}" binding="#{EnviarAlerta.button5}" id="button5"
                                        style="left: 435px; top: 20px; position: absolute" text="Enviar Alerta"/>
                                    <ui:alert binding="#{EnviarAlerta.alerta1}" id="alerta1" style="left: 8px; top: 356px; position: absolute; width: 533px"/>
                                    <ui:table augmentTitle="false" binding="#{EnviarAlerta.table1}" id="table1" paginateButton="true" paginationControls="true"
                                        style="left: 8px; top: 44px; position: absolute" title="Colaboradores" width="514">
                                        <ui:tableRowGroup binding="#{EnviarAlerta.tableRowGroup1}" id="tableRowGroup1" rows="10"
                                            selected="#{EnviarAlerta.selectedState}" sourceData="#{SessionBean1.listaColaboradorAlertaDataSource}" sourceVar="currentRow">
                                            <ui:tableColumn binding="#{EnviarAlerta.tableColumn1}" id="tableColumn1" onClick="setTimeout(‘initAllRows()’,0)" selectId="#{EnviarAlerta.radioButton1.id}">
                                                <ui:radioButton binding="#{EnviarAlerta.radioButton1}" id="radioButton1" label=""
                                                    name="#{EnviarAlerta.radioButton1.id}" selected="#{EnviarAlerta.selected}" selectedValue="#{EnviarAlerta.selectedValue}"/>
                                            </ui:tableColumn>
                                            <ui:tableColumn binding="#{EnviarAlerta.tableColumn2}" headerText="Nome" id="tableColumn2">
                                                <ui:staticText binding="#{EnviarAlerta.staticText6}" id="staticText6" text="#{currentRow.value['nome']}"/>
                                            </ui:tableColumn>
                                            <ui:tableColumn binding="#{EnviarAlerta.tableColumn3}" headerText="Usuario" id="tableColumn3">
                                                <ui:staticText binding="#{EnviarAlerta.staticText7}" id="staticText7" text="#{currentRow.value['usuario']}"/>
                                            </ui:tableColumn>
                                            <ui:tableColumn binding="#{EnviarAlerta.tableColumn4}" headerText="Tipo" id="tableColumn4">
                                                <ui:staticText binding="#{EnviarAlerta.staticText8}" id="staticText8" text="#{currentRow.value['autorizacao']}"/>
                                            </ui:tableColumn>
                                        </ui:tableRowGroup>
                                    </ui:table>
                                </ui:panelLayout>
                            </ui:tab>
                        </ui:tabSet>
                    </ui:form>
                </ui:body>
            </ui:html>
        </ui:page>
    </f:view>
</jsp:root>
